﻿<MVVMBase:WindowExtenBase x:Class="EzDesk.DesktopClient.AppModule.View.MainPanelView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        xmlns:MVVMBase="clr-namespace:EzDesk.MVVMBase;assembly=EzDesk.MVVMBase" Title="FunctionPageView"
        AllowsTransparency="True"
        WindowStyle="None" 
        Background="Transparent"
        WindowStartupLocation="Manual"
        MaxHeight="800"
        MinHeight="2"
         MinWidth="388"
        Height="60" Width="484" Topmost="True">
    <Border>
        <Border CornerRadius="0,0,8,8"  Margin="5,0,5,5" BorderThickness="1" BorderBrush="{StaticResource BorderGray}" Background="{StaticResource BackGray}"  ScrollViewer.VerticalScrollBarVisibility="Hidden">
            <!--<Border.Effect>
                <DropShadowEffect BlurRadius="5" />
            </Border.Effect>-->
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="*"></RowDefinition>
                </Grid.RowDefinitions>

                <ContentControl x:Name="MoreFunctionRegion" Visibility="Collapsed" Grid.Row="0" Content="{Binding Path=MoreFunctionPanelViewModel.View}"></ContentControl>
                <ContentControl x:Name="ShortcutRegion"  Grid.Row="1" Content="{Binding Path=ShortcutFunctionPanelViewModel.View}"></ContentControl>
                <ContentControl x:Name="Bar" Visibility="Collapsed">
                    <Rectangle Width="100"  Fill="Green" Height="20" VerticalAlignment="Stretch"></Rectangle>
                </ContentControl>
            </Grid>
        </Border>
    </Border>
</MVVMBase:WindowExtenBase>